{{#if hasLabel}}
    <label class="control-label" for="{{formElementId}}">{{label}}</label>
{{/if}}
{{#if hasBlock}}
    {{yield value formElementId}}
{{else}}
    {{bs-input id=formElementId name=name type=controlType value=value placeholder=placeholder autofocus=autofocus disabled=disabled required=required}}
{{/if}}
{{partial "components/form-element/feedback-icon"}}
{{partial "components/form-element/errors"}}
